package com.woniuxy.mapper;

import com.woniuxy.entity.Phase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PhaseMapper {

    @Select("select * from t_menu where pid = 0")
    @Results({
            @Result(id = true, column = "mid", property = "jid")
    })
    public List<Phase> all();
}
